import React from 'react';
import styles from './style.css'
import imgSrc from "./bg_digit_cim_bar.png"

export const BackGround = (props)=>{
    return(
        // <div 
        //     className = {styles.bg} 
        //     {...props}
        // >{props.children}</div>
        <div 
            className = {styles.bg}
            style = {{width:'100%',height:'100%',padding:props.paddingstyle}}
        >
            {props.children}
            <div className={styles.bar}>
                <img style={{width:1920,height:77}} src={imgSrc} />
            </div>
        </div>
    )
} 